package com.woniu113.junk.site.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.woniu113.junk.site.dto.AllInventoryDTO;
import com.woniu113.junk.site.dto.ChildInventoryDTO;
import com.woniu113.junk.site.dto.InventoryDTO;
import com.woniu113.junk.site.model.Inventory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu113.junk.site.param.inventory.WareHouseParam;

import java.net.InetAddress;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 蜡笔没了小新
 * @since 2024年10月16日
 */
public interface InventoryService extends IService<Inventory> {


    public void wareHouse(WareHouseParam param,Integer adminId);

    public void fWareHouse(Integer transferId, Integer adminId) throws JsonProcessingException;

    public List<InventoryDTO> findInventoryByStationId(Integer stationId);

    public List<ChildInventoryDTO> findAllChildInventoryByCountyStationId(Integer stationId);

    AllInventoryDTO findAll(String stationName, Integer pageNum, Integer pageSize);
}
